<table width="100%">
	<tr>
		<td><?php echo $this->date; ?></td>
	</tr>
	<tr>
		<td>
	    
			<?php /*echo $this->table;*/?>
			<?php if ($this->hasStatistics) { ?>
			<?php 			$tmp = 	'';			?>
			<table cellpadding = '0' cellspacing = '0' class='table-statistics' >
			<?php 	foreach ($this->data as $data) { ?>	
			<?php 			if	($data['address'] <> $tmp)	{		?>
				<tr>
					<td colspan=3><?php 		echo $data['address'] ;?></td>
				</tr>
				<?php  } ?>
				<tr>
					<td >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						<?php 		echo $data['menuname'] ;?></td>
					<td><?php 		echo 'Type : '.$data['typename'] ;?></td>
					<td><?php 		echo $data['quantity'] ;?></td>
				</tr>
				<?php  $tmp = $data['address']; ?>
						
			<?php 	}?>
			</table>
			<?php }  echo $this->message;?>
			
		</td>
	</tr>
</table>
